package com.xiaoxin.experience;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Repository;

/**
 * @author xiaoxin
 * @version 2021/2/23
 */
@EnableScheduling
@EnableAsync
@MapperScan(basePackages = {"com.xiaoxin.experience"}, annotationClass = Repository.class)
@SpringBootApplication(scanBasePackages = {"com.xiaoxin.experience"})
public class ExperienceApplication
{

    public static void main(String[] args)
    {
        SpringApplicationBuilder builder = new SpringApplicationBuilder(ExperienceApplication.class);
        builder.headless(false).run(args);
    }
}
